x = float(input())
y = float(input())
op = input()

if op == "+":
    print(format(x+y, ".3f"))
elif op == '-':
    print(format(x-y, ".3f"))
elif op == '*':
    print(format(x*y, ".3f"))
elif op == '/':
    if y == 0:
        print("The divisor cannot be zero!")
    else:
        print(format(x/y, ".3f"))
